package cn.kgc.springboot.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author: mosin
 * @version: v1.0  2022/7/31
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors
@TableName("dept")
public class Dept  implements Serializable {

    @TableId("deptno")
    private Integer deptno;
    private String dname;
    private String loc;


}
